package com.cheer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cheer.common.Page;
import com.cheer.entity.OaUserEntity;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * 用户信息
 *
 * @author cheer
 */
public interface OaUserService extends IService<OaUserEntity> {

    /**
     * 查询用户Id
     */
    Integer getIdByOpenid(String openid);

    /**
     * 新增积分
     * @param oaUserId
     * @param integral
     */
    void addCredit(Integer oaUserId, Integer integral);

}

